-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Add Worker Maintenance Comment Change to React UI #55547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Worker Maintenance Comment Change to React UI #55547
Conversation
dheerajturaga
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving as base functionality works, suggestions are nits which can be addressed in a follow up
Thanks for the feedback. (1) is actually a feature and was as far as I remember in the previous UI the same. But can double-check. (2) is a blocker for me, I am not sure why this happens but must be resolved prior merge. Funny it actually updates but does not close. It is the "same" code like in other dialogs but don't understand why it is different here :-D |
|
@jscheffl for 1. I was suggesting we remove the button altogether, no need to have it until the worker enters Maintenance mode |
...dge3/src/airflow/providers/edge3/plugins/www/src/components/MaintenanceEditCommentButton.tsx
Show resolved
Hide resolved
2ff044a to
bbe5ac8
Compare
Regarding (1) - with last commit fixed state check in state model, update is now possible also if maintenance is pending. |
|
This last error was about "flask_limiter" error. It's fixed in main now. We should rebase it I think. |
bbe5ac8 to
c6dafce
Compare
c6dafce to
90edd5f
Compare
@dheerajturaga It can sometime take a long time until worker is really in maintenance, if a longer running job need to drain. We had it multiple times that we needed to update the comment if the node is still in draining. Therefore I'd not limit the user to update comment. |
dheerajturaga
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Works great!
90edd5f to
625fb94
Compare
gopidesupavan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving , not an UI expert :)
Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
625fb94 to
1399d5f
Compare
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>
* Add Worker Maintenance Comment Change to React UI * Review proposal to fix Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com> * Update assets after change * Fix state model, allow update of comment also in pending --------- Co-authored-by: Dheeraj Turaga <dheerajturaga@gmail.com>


Add the next increment of feature:
Adding a button to change maintenance comments for Edge Workers:

After change:

FYI @dheerajturaga